package com.djl.zenithbite.dto.response.order;

import com.djl.zenithbite.common.response.BaseResponse;
import com.djl.zenithbite.dto.request.shopping.order.OrderItemRequest;
import com.djl.zenithbite.entity.Order;
import com.djl.zenithbite.entity.OrderItem;
import com.djl.zenithbite.entity.Store;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrderDetailResponse extends BaseResponse {
    /**
     * store
     */
    Store store;

    /**
     * order
     */
    Order order;

    /**
     * order item list
     */
    List<OrderItemResponse> orderItemList;

    /**
     * 是否已经评价
     */
    Boolean hasComment;
}
